 /****** Object:  Stored Procedure IDSSortsGet    Script Date: Saturday, March 31, 2007 ******/
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[spIDSSortsGetMaxID]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [spIDSSortsGetMaxID]
GO

CREATE PROCEDURE spIDSSortsGetMaxID
	
AS

SELECT
	(MAX([IDSSortID]) + 1)	
FROM
	[IDSSorts]

GO
	

	
